home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 12 / Mac Magazin and MacEasy Magazine CD - Issue 12.iso / Sharewarebibliothek / Anwendungen / Wissenschaft & Technik / Yorick / yorick11-ppc folder / testfull.i < prev    next >
Text File  |  1995-06-29  |  1KB  |  52 lines

  1. /* This file runs a full set of tests on the Macintosh version 
  2.    of yorick, although it should be also useful for any other version.
  3.    */
  4.  
  5. /* run the parser test */
  6. include, "testpars.i"
  7.  
  8. skip_testb= 0;
  9. skip_test1= 0;
  10. skip_test2= 0;
  11. skip_test3= 0;
  12.  
  13. if (!skip_testb) {
  14.   require, "testb.i";
  15.   write,"\n Zeroth test is pdtest files:";  pdcheck2;  write,"";
  16.   testb;
  17. }
  18.  
  19. /* use the same pass count for all tests */
  20. npass= 20;
  21.  
  22. /* write if tests twice so that include actually takes place */
  23. if (!skip_test1) include, "test1.i";
  24. if (!skip_test1) { write,"\nShock tracker timing test:";  test1, 2; }
  25.  
  26. if (!skip_test2) include, "test2.i";
  27. if (!skip_test2) { write,"\nEscape factor timing test:";  test2, 2; }
  28.  
  29.  
  30. if (!skip_test3) include, "test3.i";
  31. if (!skip_test3) { write,"\nZone generator timing test:";  test3, 2; }
  32.  
  33. /* Run the tests of the math library routines */
  34. include, "testm.i"
  35. testm;
  36.  
  37. /* Run the linpack benchmark */
  38. include, "linpack.i"
  39. linpack;
  40.  
  41. /* Run the tests of the graphics package */
  42. include, "testg.i"
  43. /* NOTE!! running mode zero test first to be sure the
  44.    window exists before anyone switches to animate mode.
  45. */
  46. lissajous,0;
  47. lissajous,1;
  48. testg3;
  49.  
  50. include, "demo2.i";
  51. demo2;
  52.